//
//  BannerView.h
//  Fangmm
//
//  Created by 阮琦 on 16/2/10.
//  Copyright © 2016年 com.fangmm. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol BannerScrollViewDelegate <NSObject>
@optional
-(void)pageClickedWithDestinationUrl:(NSString *)url;
@end

@interface BannerView : UIView <UIScrollViewDelegate>

@property (retain, nonatomic) UIScrollView *bannerScrollView;
@property (assign, nonatomic) id <BannerScrollViewDelegate> delegate;
- (void)refreshBannerWithImageUrls:(NSArray *)urls;
- (void)refreshBannerWithImages:(NSArray *)images RelatedUrls:(NSArray *)urls;
- (void)refreshBannerWithImages:(NSArray *)images;
- (void)refreshBannerWithImageUrls:(NSArray *)imageUrls RelatedUrls:(NSArray *)urls;

@end
